import req from "../utils/request";

// 歌曲分类
export const getSongClassify = () => {
  return req({
    method: "GET",
    url: "/playlist/highquality/tags",
  });
};

// 获取精品歌单
export const getSongList = (cat) => {
  return req({
    method: "GET",
    url: "/top/playlist/highquality",
    params: {
      limit: 20,
      cat,
    },
  });
};

// 获取热门歌单
export const getSongHotList = () => {
  return req({
    method: "GET",
    url: "/top/playlist?limit=20",
  });
};
